﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RAP.Framework.Libary.Utils
{

  /// <summary>
  /// 
  /// </summary>
  public class DynamicPropertyAttribute : Attribute
  {
    public string Property { get; set; }

    public DynamicPropertyAttribute(string propertyName)
    {
      if (string.IsNullOrEmpty(propertyName))
      {
        throw new NullReferenceException("错误的DynamicPropertyAttribute定义！");
      }
      this.Property = propertyName;
    }
  }
}
